<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>ChangeGamma</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ChangeGamma()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>ChangeGamma</b></font>(RedIntensity, GreenIntensity, BlueIntensity)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Changes the Gamma for the current screen. This only works in full screen mode (not in windowed mode). Red, 
Green and Blue channels intensity can be changed individually. This function can be used to do full screen fade-in/fade-out, 
color splashing etc. If it does not do anything, then the hardware does not support it (no emulation is 
provided, due to the high number of operations required to perform it in software). 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>RedIntensity, GreenIntensity, BlueIntensity</i></td>
<td width="90%"> 
 
The new intensity to apply. Valid values for each channel are from 0 to 255. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

None.





</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#006666">  ChangeGamma</font>(255, 255, 0)   <font color="#006666">; Will remove completely the blue channel from the screen</font>
</font></pre>

</Blockquote><p><b>Supported OS  </b><Blockquote>Windows (DirectX)</Blockquote></p><center>&lt;- <a href=availablescreenmemory.html>AvailableScreenMemory()</a> - <a href=index.html>Screen Index</a> - <a href=clearscreen.html>ClearScreen()</a> -&gt;



</body></html>